
import requests

# commits_url = "https://gitee.com/mo-chaolun/python-crawler/contributors_count?ref=master"
# commits_res = requests.get(commits_url)
# html1 = commits_res.json()["contributors"][0]["commits_count"]
# html2 = commits_res.json()["contributors"][1]["commits_count"]
# html = html1 + html2
# print(f"提交次数是{html}次")

updated_url = "https://gitee.com/mo-chaolun/python-crawler/events.json"
updated_res = requests.get(updated_url)
print(f"最近提交时间为：{updated_res.json()["data"]["events"][0]["updated_at"]}")










